home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 June: Reference Library / Dev.CD Jun 96 RL / Dev.CD Jun 96 RL.toast / Technical Documentation / develop / develop Issue 10 / develop Issue 10 code / Is it Art?.sea / Is it Art? / ArtMaker / Shell.h < prev    next >
MacBinary  |  1992-04-08  |  1.3 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Wed Apr 8 18:00:32 1992, modified Wed Apr 8 18:00:32 1992, creator Think C, type ASCII, 662 bytes "Shell.h" , at 0x316 382 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% dearkID deark: macbinary default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 53 68 65 6c 6c 2e | 68 00 00 00 00 00 00 00 |..Shell.|h.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 02 96 00 | 00 01 7e a6 09 1d 80 a6 |........|..~.....|
|00000060| 09 1d 80 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 6d 63 00 00 |........|....mc..|
|00000080| 2f 2a 20 50 72 6f 74 6f | 74 79 70 65 73 20 66 6f |/* Proto|types fo|
|00000090| 72 20 72 6f 75 74 69 6e | 65 73 20 74 68 61 74 20 |r routin|es that |
|000000a0| 61 70 70 20 6d 75 73 74 | 20 70 72 6f 76 69 64 65 |app must| provide|
|000000b0| 20 61 6e 64 20 73 6f 6d | 65 20 63 6f 6e 73 74 61 | and som|e consta|
|000000c0| 6e 74 73 20 2a 2f 0d 23 | 69 6e 63 6c 75 64 65 09 |nts */.#|include.|
|000000d0| 22 41 70 70 49 6e 74 65 | 72 66 61 63 65 2e 68 22 |"AppInte|rface.h"|
|000000e0| 0d 0d 2f 2a 20 54 68 65 | 20 6e 75 6d 62 65 72 20 |../* The| number |
|000000f0| 6f 66 20 53 68 65 6c 6c | 20 4d 65 6e 75 73 20 2a |of Shell| Menus *|
|00000100| 2f 0d 23 64 65 66 69 6e | 65 20 6b 4e 75 6d 53 68 |/.#defin|e kNumSh|
|00000110| 65 6c 6c 4d 65 6e 75 73 | 09 09 33 09 2f 2a 20 41 |ellMenus|..3./* A|
|00000120| 70 70 6c 65 2c 20 66 69 | 6c 65 2c 20 61 6e 64 20 |pple, fi|le, and |
|00000130| 65 64 69 74 20 2a 2f 0d | 0d 2f 2a 20 74 68 65 20 |edit */.|./* the |
|00000140| 41 62 6f 75 74 2e 2e 2e | 20 41 6c 65 72 74 20 49 |About...| Alert I|
|00000150| 44 2a 2f 09 0d 23 64 65 | 66 69 6e 65 09 6b 41 62 |D*/..#de|fine.kAb|
|00000160| 6f 75 74 41 6c 65 72 74 | 49 44 09 09 31 32 38 0d |outAlert|ID..128.|
|00000170| 0d 2f 2a 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |./*-----|--------|
|00000180| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 50 72 6f |--------|----.Pro|
|00000190| 74 6f 74 79 70 65 73 0d | 2d 2d 2d 2d 2d 2d 2d 2d |totypes.|--------|
|000001a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000001b0| 2d 2a 2f 0d 0d 2f 2a 20 | 69 6e 69 74 2e 63 20 2a |-*/../* |init.c *|
|000001c0| 2f 0d 69 6e 74 20 69 6e | 69 74 73 68 65 6c 6c 28 |/.int in|itshell(|
|000001d0| 76 6f 69 64 29 3b 0d 0d | 2f 2a 20 65 76 65 6e 74 |void);..|/* event|
|000001e0| 73 2e 63 20 2a 2f 0d 69 | 6e 74 20 44 6f 45 76 65 |s.c */.i|nt DoEve|
|000001f0| 6e 74 28 45 76 65 6e 74 | 52 65 63 6f 72 64 20 2a |nt(Event|Record *|
|00000200| 45 76 65 6e 74 29 3b 0d | 69 6e 74 20 44 6f 4d 6f |Event);.|int DoMo|
|00000210| 75 73 65 28 45 76 65 6e | 74 52 65 63 6f 72 64 20 |use(Even|tRecord |
|00000220| 2a 65 76 65 6e 74 70 74 | 72 29 3b 0d 69 6e 74 20 |*eventpt|r);.int |
|00000230| 44 6f 4b 65 79 28 45 76 | 65 6e 74 52 65 63 6f 72 |DoKey(Ev|entRecor|
|00000240| 64 20 2a 65 76 65 6e 74 | 70 74 72 29 3b 0d 69 6e |d *event|ptr);.in|
|00000250| 74 20 44 6f 4f 53 28 45 | 76 65 6e 74 52 65 63 6f |t DoOS(E|ventReco|
|00000260| 72 64 20 2a 65 76 65 6e | 74 70 74 72 29 3b 0d 69 |rd *even|tptr);.i|
|00000270| 6e 74 20 44 6f 4d 65 6e | 75 73 28 6c 6f 6e 67 20 |nt DoMen|us(long |
|00000280| 6d 73 74 75 66 66 29 3b | 0d 69 6e 74 20 44 6f 41 |mstuff);|.int DoA|
|00000290| 70 70 6c 65 28 73 68 6f | 72 74 20 69 74 65 6d 29 |pple(sho|rt item)|
|000002a0| 3b 0d 69 6e 74 20 44 6f | 46 69 6c 65 28 73 68 6f |;.int Do|File(sho|
|000002b0| 72 74 20 69 74 65 6d 29 | 3b 0d 69 6e 74 20 44 6f |rt item)|;.int Do|
|000002c0| 45 64 69 74 28 73 68 6f | 72 74 20 69 74 65 6d 29 |Edit(sho|rt item)|
|000002d0| 3b 0d 76 6f 69 64 20 42 | 61 69 6c 4f 75 74 28 76 |;.void B|ailOut(v|
|000002e0| 6f 69 64 29 3b 0d 0d 2f | 2a 20 75 74 69 6c 73 2e |oid);../|* utils.|
|000002f0| 63 20 70 72 6f 74 6f 74 | 79 70 65 73 20 61 72 65 |c protot|ypes are|
|00000300| 20 69 6e 20 41 70 70 49 | 6e 74 65 72 66 61 63 65 | in AppI|nterface|
|00000310| 2e 68 20 2a 2f 0d 00 00 | 00 00 00 00 00 00 00 00 |.h */...|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000390| 46 44 0d 20 09 09 09 09 | 46 52 0d 20 09 09 09 09 |FD. ....|FR. ....|
|000003a0| 52 0d 20 09 09 09 09 42 | 52 0d 20 09 09 09 09 42 |R. ....B|R. ....B|
|000003b0| 07 53 68 65 6c 6c 2e 68 | 02 00 00 00 54 45 58 54 |.Shell.h|....TEXT|
|000003c0| 4b 41 48 4c 01 00 00 64 | 00 91 00 00 00 00 14 9a |KAHL...d|........|
|000003d0| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 00 64 00 91 |..TEXTKA|HL...d..|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 9d c8 68 c5 00 00 | 02 96 00 00 01 7e 65 72 |....h...|.....~er|
|00000400| 74 28 22 5c 70 43 61 6e | 27 74 20 66 69 6e 64 20 |t("\pCan|'t find |
|00000410| 74 68 65 20 70 61 74 74 | 65 72 6e 20 6c 69 73 74 |the patt|ern list|
|00000420| 2e 20 53 6f 72 72 79 2e | 2e 2e 22 2c 20 31 29 3b |. Sorry.|..", 1);|
|00000430| 0d 09 09 09 42 61 69 6c | 4f 75 74 28 29 3b 0d 09 |....Bail|Out();..|
|00000440| 09 7d 0d 09 09 28 2a 2a | 42 75 67 50 74 72 2d 3e |.}...(**|BugPtr->|
|00000450| 70 6f 72 74 50 69 78 4d | 61 70 29 2e 62 61 73 65 |portPixM|ap).base|
|00000460| 41 64 64 72 20 3d 20 28 | 50 74 72 29 28 26 42 75 |Addr = (|Ptr)(&Bu|
|00000470| 67 50 69 63 73 5b 63 6e | 74 5d 29 3b 0d 09 09 46 |gPics[cn|t]);...F|
|00000480| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 06 | 00 04 00 50 00 20 01 dd |........|...P. ..|
|000004b0| 02 3d 00 50 00 20 01 dd | 02 3d a1 40 2d ef 00 00 |.=.P. ..|.=.@-...|
|000004c0| 03 31 00 00 03 9e 00 00 | 03 d0 01 00 00 00 01 00 |.1......|........|
|000004d0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 29 07 74 |...L...L|...2.).t|
|000004e0| 0a 4a 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.J.....2|..MPSR..|
|000004f0| 00 0a 03 ed ff ff 00 00 | 00 00 00 2a 9c 70 00 00 |........|...*.p..|
+--------+-------------------------+-------------------------+--------+--------+